package com.silverbox.sweeporder.service.employee;

import com.silverbox.core.result.CoreResponse;
import com.silverbox.shopper.entity.Employee;
import com.silverbox.sweeporder.controller.member.vo.EmployeeAuthRecordEntryVO;
import com.silverbox.sweeporder.controller.member.vo.FindEmployeeEntryVO;

public interface EmployeeService {
	
	public CoreResponse<FindEmployeeEntryVO> getShopEmployeeIdByMobile(Integer shopId, Integer storeId, String mobile);

	public CoreResponse<EmployeeAuthRecordEntryVO> isExistEmployeeAuthRecord(Integer shopId, Integer storeId, String source, String appId,
			String buyerId, Integer type);

	public Boolean saveOrUpdateEmployeeAuthRecord(Integer employeeAuthId, Integer shopId, Integer storeId,
			Integer employeeId, String source, String appId, String buyerId);
	
	/**
	 * 获取员工信息
	 * @param employeeAuthId
	 * @param shopId
	 * @param storeId
	 * @param employeeId
	 * @param source
	 * @param appId
	 * @param buyerId
	 * @return
	 */
	public Employee getEmployeeEntry(Integer shopId, Integer storeId,String source, String appId, String buyerId);
	
}
